#pragma once
# include "RBTree.h"

namespace xx
{
	template<class K>
	class Myset
	{
	public:
		typedef RBTree<K, K, MysetREK>::Iterator iterator;
		typedef RBTree<K, K, MysetREK>::const_Iterator const_iterator;

		bool insert(const K key)
		{
			_t.insert(key);
		}
		struct MysetREK()
		{
			const K& operator()(const K & key)
			{
				return key;
			}
		};
	private:
		RBTree<K,K,MysetREK> _t;
	};
}